import request from "@/utils/request.js";

// 登录
export const loginService = (params) => {
    return request.post('/auth/login', params)
}

// 注册
export const registerService = (params) => {
    return request.post('/auth/register', params)
}

// 忘记密码
export const forgetPasswordService = (params) => {
    return request.post('/auth/forget-password', params)
}

// 忘记密码（确认）
export const forgetPasswordConfirmService = (params) => {
    return request.post('/auth/forget-password-confirm', params)
}